package com.zcf.controller;

import com.zcf.service.RechargeServiceImpl;
import com.zcf.vo.out.LayuiJson;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author jj
 * @date 2019/11/11 15:50
 */
@CrossOrigin
@Controller
@RequestMapping("/recharge")
public class RechargeController {
    @Autowired
    private RechargeServiceImpl rechargeService;
    /**
    * @description :今日充值流水
    * @date : 2019/11/29 16:42
    * @author : jj
    */
    @RequestMapping("toDayRecharge" )
    @ResponseBody
    public LayuiJson toDayRecharge(){
        return rechargeService.toDayRecharge();
    }

}
